# -*- coding:utf-8 -*-
import uuid

from django.db import models


class Demo(models.Model):
    id = models.CharField(max_length=255, primary_key=True, default=uuid.uuid4, help_text="Id", verbose_name="Id")
    name = models.CharField(max_length=11)
    age = models.IntegerField()
    money = models.DecimalField(max_digits=10, decimal_places=4)
    is_tester = models.CharField(max_length=11)
    create_time = models.DateTimeField()
    update_time = models.DateTimeField()

    class Meta:
        db_table = 'demo'
        verbose_name = db_table
